package com.example.abc.common;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Peter on 2018/4/27.
 */
public class DataTableResponse<T> {
    private long draw;//": 1,
    private long recordsTotal;//": 57,
    private long recordsFiltered;//": 57,
    private List<T> data = new ArrayList<>();

    public long getDraw() {
        return draw;
    }

    public void setDraw(long draw) {
        this.draw = draw;
    }

    public long getRecordsTotal() {
        return recordsTotal;
    }

    public void setRecordsTotal(long recordsTotal) {
        this.recordsTotal = recordsTotal;
    }

    public long getRecordsFiltered() {
        return recordsFiltered;
    }

    public void setRecordsFiltered(long recordsFiltered) {
        this.recordsFiltered = recordsFiltered;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
